package com.be.beadmin.device.entity;

import com.be.beadmin.common.entity.BaseEntity;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.util.Date;

/**
 * @Author: chenxu
 * @Date: 2023/9/19 20:17
 * @Description: 巡检计划子表
 */
@Table(name="T_DE_InspectSubItem")
@Data
@Entity
public class InspectSubItem extends BaseEntity {
    @Column(name = "Identification", columnDefinition = "VARCHAR(50) COMMENT '唯一标识' not null")
    private String Identification;

    @Column(name = "InspectID", columnDefinition = "varchar(20) COMMENT '计划单号' ")
    private String InspectID;

    @Column(name = "CheckItem", columnDefinition = "VARCHAR(20) COMMENT '检查项目' ")
    private String CheckItem;

    @Column(name = "CheckDesc", columnDefinition = "VARCHAR(200) COMMENT '检查描述' ")
    private String CheckDesc;

    @Column(name = "IsValid", columnDefinition = "bit COMMENT '是否有效' ")
    private boolean IsValid;

    @Column(name = "Sequence", columnDefinition = "int COMMENT '顺序号' ")
    private int Sequence;

    @Column(name = "IsAttached", columnDefinition = "bit COMMENT '是否需要附件' ")
    private boolean IsAttached;

    @Column(name = "Notes", columnDefinition = "VARCHAR(200) COMMENT '备注' ")
    private String Notes;
}
